<template>
  <div></div>
</template>

<script setup>
import { ref } from "vue";
import { getCodeToExcel } from "@/api/index";

const code = ref("");

getCodeToExcel({
  codes: [
    "C021028001ZGEA0DA03",
    "C021028001ZGEA0DA04",
    "C021028001ZGEA0CA03",
    "C021028001ZGEA0CA04",
  ],
  stime: new Date("2024-01-01 00:00:00").getTime(),
  etime: new Date().getTime(),
  measurement: "5min",
  fields: ["fvalue", "lvalue", "avg"],
}).then(() => {});
</script>
